package encomendaFacil.dao;

import java.util.List;

public interface GenericDAO<T> {

	T insert(T t);
	T modify(T t);
	void remove(long id);
	T findById(long id);
	List<T> findByName(String name);
	List<T> findAll();
}
